ποΈGitΠ―ΡΠ°ποΈ
feature/settings/settings-validation.md 936be3998f0fe49f58b8a0f9ff2c01e3cbd85609 (936be399) Text, 24.45 KB
Settings Screen Validation Reference
This document describes the validation rules enforced on each radio configuration and module
configuration settings screen. Constraints are sourced from two layers:
1. Protobuf schema β field types, enums, and T383838max_size annotations defined in the
T383838meshtastic/protobufs submodule.
2. UI form layer β additional range checks, conditional visibility, and interval pickers
implemented in T383838feature/settings/src/commonMain/.../radio/component/.
β Reusable components live in T383838core/ui/.../component/. Each component enforces its own validation
β strategy (see UI Component
β Validation
β at the bottom).
Table of Contents
β’ User
β’ Device
β’ Position
β’ Power
β’ Network
β’ Display
β’ LoRa
β’ Bluetooth
β’ Security
β’ MQTT
β’ Serial
β’ Store & Forward
β’ Range Test
β’ Telemetry
β’ Canned Message
β’ Audio
β’ Remote Hardware
β’ Neighbor Info
β’ Ambient Lighting
β’ Detection Sensor
β’ Paxcounter
β’ Status Message
β’ TAK
β’ Channel Config
Device Config Screens
User (T383838Config.UserConfig)
βββββββββββββββββββ¬ββββββββββ¬βββββββββββββββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββ
β Field β Type β Validation β Notes β
βββββββββββββββββββΌββββββββββΌβββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββ€
β T383838long_name β String β maxSize: 39 bytes (proto max_size: 40) β Required (non-blank) β
β T383838short_name β String β maxSize: 4 bytes (proto max_size: 5) β Required (non-blank) β
β T383838is_licensed β Boolean β Toggle β β β
β T383838is_unmessagable β Boolean β Toggle β Enabled only when device cβ¦ β
βββββββββββββββββββ΄ββββββββββ΄βββββββββββββββββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββ
Device (T383838Config.DeviceConfig)